using System;
using Tester.GuiActions.Actions.Impl;

namespace Tester.GuiActions.Actions.Impl
{
    public class ViewTestItemBaseAction : BaseAction
    {

        public override bool Visible
        {
            get
            {
                return
                    TesterList.Instance != null &&
                    TesterList.Instance.SelectedIndices.Count == 1 &&
                    TesterList.Instance.SelectedItems[0].Tag != null &&
                    TesterMainForm.Instance.TopControl == EmbededControlTags.TesterList;
            }
        }

        public override void MainAction(object sender, EventArgs e)
        {
        }
    }
}
